import Vue from 'vue'
import Router from 'vue-router'
import Basic from './Basic';
import Doc from './Doc';
import Tool from './Tool';
import Other from './Other';
import Book from './Book';

Vue.use(Router)

export default new Router({
  routes: [
    Basic,
    Doc,
    Tool,
    Other,
    Book,
    {
      path: '/Book/ShareTwo',
      component: () => import('@/views/Book/ShareTwo'),
      name: '分享2',
    },
    {
      path: '/Book/BookCover',
      component: () => import('@/views/Book/BookCover'),
      name: '书·封面',
    },
    {
      path: '/Tool/Clock',
      component: () => import('@/views/Tool/Clock'),
      name: '时钟',
    },
  ]
})
